//
//  WKExpireCell.m
//  WeKeTang
//
//  Created by ichina on 2017/9/13.
//  Copyright © 2017年 Dezhi Tiancheng Education Technology (Beijing) Co. Ltd. All rights reserved.
//

#import "WKExpireCell.h"
#import "UILabel+Addtiob.h"

@implementation WKExpireCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    [self.symbolLabel bottomAlignment];
    [self.priceLabel bottomAlignment];
    self.priceLabel.font = [UIFont fontWithName:@ "Arial Rounded MT Bold"  size:(48.0)];
    
}

- (void)setModel:(WKDiscountCouponModel *)model{
    
    _model = model;
    self.bgImageView.image = [UIImage imageNamed:@"icon_youhuiquan_yiguoqi"];
    self.priceLabel.text = model.money;
    self.timeLabel.text = [NSString stringWithFormat:@"%@到期",model.expiretime];
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    
}

@end
